Integrand size = 16, antiderivative size = 45 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {a (c+d x)^2}{2 d}+\frac {b (c+d x) \cosh (e+f x)}{f}-\frac {b d \sinh (e+f x)}{f^2} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {3398, 3377, 2717} \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {a (c+d x)^2}{2 d}+\frac {b (c+d x) \cosh (e+f x)}{f}-\frac {b d \sinh (e+f x)}{f^2} \]
[In]
[Out]
Rule 2717
Rule 3377
Rule 3398
Rubi steps \begin{align*} \text {integral}& = \int (a (c+d x)+b (c+d x) \sinh (e+f x)) \, dx \\ & = \frac {a (c+d x)^2}{2 d}+b \int (c+d x) \sinh (e+f x) \, dx \\ & = \frac {a (c+d x)^2}{2 d}+\frac {b (c+d x) \cosh (e+f x)}{f}-\frac {(b d) \int \cosh (e+f x) \, dx}{f} \\ & = \frac {a (c+d x)^2}{2 d}+\frac {b (c+d x) \cosh (e+f x)}{f}-\frac {b d \sinh (e+f x)}{f^2} \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.96 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {1}{2} a x (2 c+d x)+\frac {b (c+d x) \cosh (e+f x)}{f}-\frac {b d \sinh (e+f x)}{f^2} \]
[In]
[Out]
Time = 0.97 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.02
method | result | size |
parallelrisch | \(\frac {\left (d x +c \right ) b f \cosh \left (f x +e \right )-\sinh \left (f x +e \right ) b d +f \left (a x \left (\frac {d x}{2}+c \right ) f +b c \right )}{f^{2}}\) | \(46\) |
risch | \(\frac {a d \,x^{2}}{2}+a c x +\frac {b \left (d f x +c f -d \right ) {\mathrm e}^{f x +e}}{2 f^{2}}+\frac {b \left (d f x +c f +d \right ) {\mathrm e}^{-f x -e}}{2 f^{2}}\) | \(60\) |
parts | \(a \left (\frac {1}{2} d \,x^{2}+c x \right )+\frac {b \left (\frac {d \left (\left (f x +e \right ) \cosh \left (f x +e \right )-\sinh \left (f x +e \right )\right )}{f}-\frac {d e \cosh \left (f x +e \right )}{f}+c \cosh \left (f x +e \right )\right )}{f}\) | \(67\) |
derivativedivides | \(\frac {\frac {d a \left (f x +e \right )^{2}}{2 f}+\frac {d b \left (\left (f x +e \right ) \cosh \left (f x +e \right )-\sinh \left (f x +e \right )\right )}{f}-\frac {d e a \left (f x +e \right )}{f}-\frac {d e b \cosh \left (f x +e \right )}{f}+a c \left (f x +e \right )+b c \cosh \left (f x +e \right )}{f}\) | \(91\) |
default | \(\frac {\frac {d a \left (f x +e \right )^{2}}{2 f}+\frac {d b \left (\left (f x +e \right ) \cosh \left (f x +e \right )-\sinh \left (f x +e \right )\right )}{f}-\frac {d e a \left (f x +e \right )}{f}-\frac {d e b \cosh \left (f x +e \right )}{f}+a c \left (f x +e \right )+b c \cosh \left (f x +e \right )}{f}\) | \(91\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.13 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {a d f^{2} x^{2} + 2 \, a c f^{2} x - 2 \, b d \sinh \left (f x + e\right ) + 2 \, {\left (b d f x + b c f\right )} \cosh \left (f x + e\right )}{2 \, f^{2}} \]
[In]
[Out]
Time = 0.17 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.51 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\begin {cases} a c x + \frac {a d x^{2}}{2} + \frac {b c \cosh {\left (e + f x \right )}}{f} + \frac {b d x \cosh {\left (e + f x \right )}}{f} - \frac {b d \sinh {\left (e + f x \right )}}{f^{2}} & \text {for}\: f \neq 0 \\\left (a + b \sinh {\left (e \right )}\right ) \left (c x + \frac {d x^{2}}{2}\right ) & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.44 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {1}{2} \, a d x^{2} + a c x + \frac {1}{2} \, b d {\left (\frac {{\left (f x e^{e} - e^{e}\right )} e^{\left (f x\right )}}{f^{2}} + \frac {{\left (f x + 1\right )} e^{\left (-f x - e\right )}}{f^{2}}\right )} + \frac {b c \cosh \left (f x + e\right )}{f} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 64, normalized size of antiderivative = 1.42 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {1}{2} \, a d x^{2} + a c x + \frac {{\left (b d f x + b c f - b d\right )} e^{\left (f x + e\right )}}{2 \, f^{2}} + \frac {{\left (b d f x + b c f + b d\right )} e^{\left (-f x - e\right )}}{2 \, f^{2}} \]
[In]
[Out]
Time = 0.82 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.09 \[ \int (c+d x) (a+b \sinh (e+f x)) \, dx=\frac {f\,\left (b\,c\,\mathrm {cosh}\left (e+f\,x\right )+b\,d\,x\,\mathrm {cosh}\left (e+f\,x\right )\right )-b\,d\,\mathrm {sinh}\left (e+f\,x\right )}{f^2}+a\,c\,x+\frac {a\,d\,x^2}{2} \]
[In]
[Out]